package com.aier.school.entity;

import java.sql.Timestamp;
import java.util.List;

import com.aier.classes.entity.ClassTeacher;

public class SchoolTeacher implements java.io.Serializable{

    /**
     * 学校教师表
     */
    private static final long serialVersionUID = 1L;

    private Long tid;        //学校的教师id
    private Long uid;        //用户id
    private Integer sid;    //学校id
    private String tname;    //教师姓名
    private Long gid;        //职务id
    private Timestamp ctime;//加入时间
    private Short isadmin;    //是否学校管理员 1:是,0:否
    private Integer mesCount; // 剩余短信条数
    
    //扩展
    private String account;            //账号
    private String sex;                //性别
    private String gname;            //职务名
    private String classNams_in;    //所在班级名称
    private String className_manage;//所管理的班级名称
    private String name_school;        //学校名
    private List<ClassTeacher> classTeacherList;    //班级教师列表
    private String desinfo;            //个性签名
    private String headimg;            //头像
    private String cardnum;            //卡号
    private String ctime_str;  
    
    public SchoolTeacher() {
        super();
    }

    public SchoolTeacher(Long tid, Long uid, Integer sid, String tname,
            Long gid, Timestamp ctime, Short isadmin) {
        super();
        this.tid = tid;
        this.uid = uid;
        this.sid = sid;
        this.tname = tname;
        this.gid = gid;
        this.ctime = ctime;
        this.isadmin = isadmin;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public Long getGid() {
        return gid;
    }

    public void setGid(Long gid) {
        this.gid = gid;
    }

    public Timestamp getCtime() {
        return ctime;
    }

    public void setCtime(Timestamp ctime) {
        this.ctime = ctime;
    }

    public Short getIsadmin() {
        return isadmin;
    }

    public void setIsadmin(Short isadmin) {
        this.isadmin = isadmin;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public String getClassNams_in() {
        return classNams_in;
    }

    public void setClassNams_in(String classNams_in) {
        this.classNams_in = classNams_in;
    }

    public String getClassName_manage() {
        return className_manage;
    }

    public void setClassName_manage(String className_manage) {
        this.className_manage = className_manage;
    }

    public List<ClassTeacher> getClassTeacherList() {
        return classTeacherList;
    }

    public void setClassTeacherList(List<ClassTeacher> classTeacherList) {
        this.classTeacherList = classTeacherList;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getName_school() {
        return name_school;
    }

    public void setName_school(String name_school) {
        this.name_school = name_school;
    }

    public String getDesinfo() {
        return desinfo;
    }

    public void setDesinfo(String desinfo) {
        this.desinfo = desinfo;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    public Integer getMesCount() {
        return mesCount;
    }

    public void setMesCount(Integer mesCount) {
        this.mesCount = mesCount;
    }

    public String getCardnum() {
        return cardnum;
    }

    public void setCardnum(String cardnum) {
        this.cardnum = cardnum;
    }

    public String getCtime_str() {
        return ctime_str;
    }

    public void setCtime_str(String ctime_str) {
        this.ctime_str = ctime_str;
    }
}
